//
//  TabBarController.m
//  test
//
//  Created by 科迈捷 on 2017/3/27.
//  Copyright © 2017年 科迈捷. All rights reserved.
//

#import "TabBarController.h"

@interface TabBarController ()<UITabBarControllerDelegate>

@end

@implementation TabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item {
    CATransition *animation = [CATransition animation];
    animation.duration = 0.5;
    animation.type = @"reveal";
    animation.subtype = @"fromBottom";
    [self.view.layer addAnimation:animation forKey:nil];
}

@end
